﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace WMS.Seven.Models
{
    /// <summary>
    /// 产品表
    /// </summary>
    public class Products : Entity<int>
    {

        /// <summary>
        /// 产品编码
        /// </summary>
        [StringLength(40)]
        public string? ProductCode { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        [StringLength(40)]
        public string? ProductName { get; set; }

        /// <summary>
        /// 产品规格
        /// </summary>
        [StringLength(30)]
        public string? ProductSpecification { get; set; }

        /// <summary>
        /// 类别
        /// </summary>
        [StringLength(10)]
        public string? Category { get; set; }

        /// <summary>
        /// 存储单位
        /// </summary>
        [StringLength(10)]
        public string? StorageUnit { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        [StringLength(10)]
        public string? Unit { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public double? UnitPrice { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        public int? Inventory { get; set; }
    }
}
